\documentclass{standalone}
\usepackage{tikz}
\usepackage{ctex,siunitx}
\setCJKmainfont{Noto Serif CJK SC}
\usepackage{tkz-euclide}
\usepackage{amsmath}
\usetikzlibrary{patterns, calc}
\usetikzlibrary {decorations.pathmorphing, decorations.pathreplacing, decorations.shapes,}
\begin{document}
\small
\begin{tikzpicture}[>=latex,scale=1.0]
  \draw(-0.4,0)rectangle (0.4,4);
  \foreach \x in {1,2,3}
    {
      \draw[very thin](-0.1,\x-0.5)--++(0.2,0);
      \foreach \y in {1,2,...,9} {\draw[very thin](-0.05,\x-0.5+\y/10)--++(0.1,0);}
    }
  \draw[very thin] (-0.1,3.5)--++(0.2,0);
  \draw[very thin,|<->|](0.55,1.7)--(0.55,2.7)node[midway,right]{$h$};
  \draw[double distance=2pt,double=gray!40!black](-0.25,1.7)--(-0.25,0.5)arc(180:360:0.25)--(0.25,2.7);
  \draw[double distance=2pt,rounded corners=7pt](-0.25,1.7)--(-0.25,4.2)--++(-0.5,0);
  \draw[double distance=2pt,rounded corners=7pt](0.25,2.7)--(0.25,4.3);
  \draw[->](0.25,4.7)--(0.25,4.4)node[at start,right]{$p_0$};
  \draw[double distance=2pt,double=gray] (-0.75,4.2)..controls (-0.9,4.2)and(-1.1,3.9)..(-1.1,3.5);
  \node at (-0.75,4.2)[above]{接容器};
  \draw[->](-1.1,3.0)--(-1.1,3.4)node[at start,below]{$p$};
  \draw[double distance=2.5pt,double=gray] (-0.75,4.2)--++(0.2,0);
  \fill[lightgray] (-0.35,3.7)rectangle++(0.2,0.1)(0.35,3.7)rectangle++(-0.2,0.1)(-0.05,0.10)rectangle++(0.1,0.3);
  \fill[left color=gray,right color=gray,middle color=white] (-0.30,3.7)rectangle++(0.1,0.1);
  \fill[left color=gray,right color=gray,middle color=white] (0.30,3.7)rectangle++(-0.1,0.1);
  \fill[top color=gray,bottom color=gray,middle color=white] (-0.05,0.20)rectangle++(0.1,0.1);
  \node at(-0.7,3.6){$A$};
  \node at(0.7,3.6){$B$};
  \fill[brown](-1,-0.2)--++(0.4,0)--++(0.1,0.1)--++(1,0)--++(0.1,-0.1)--++(0.4,0)--++(-0.2,0.2)--++(-1.6,0);
\end{tikzpicture}
\end{document}